home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: ODF R1 RefCounting Exte
- Sent: 5/30/96 5:30 PM
- Received: 5/30/96 5:41 PM
- From: Kirk Swenson, kswenson@mail.keypress.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- RE>>ODF R1 RefCounting Extensio 5/30/96
-
- >Greg Friedman should be answering this question but I thought that
- >refcounted objects in OpenDoc were created with a refcount of 1? When you
- >create an ODShape (subclass of ODRefcounted object) it's refcount is 1. I
- >am just wondering why your refcount is 0. A refcount of zero means the
- >object is gone.
-
- I'll try to save Greg the trouble. After re-reading the description of
- ODRefCntObject, I think you're right. The extension creation function should
- be setting the refCount to 1, not FW_CExtensionManager::AcquireExtension().
- A note to that effect might be useful in the Engineering Note on Extensions.
-
- Kirk Swenson
- Senior Software Engineer
- Key Curriculum Press
- kswenson@keypress.com
-
-
-